package cc.mcggdd.leah.boot.stock.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.math.BigDecimal;
import jakarta.validation.constraints.*;

/**
 * 初始资金表单对象
 *
 * @author 
 * @since 2025-02-08 10:16
 */
@Getter
@Setter
@Schema(description = "初始资金表单对象")
public class StockInitCapitalForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "资金说明")
    @NotBlank(message = "资金说明不能为空")
    @Size(max=128, message="资金说明长度不能超过128个字符")
    private String capitalDesc;

    @Schema(description = "金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;


}
